import ManageBase from "../MessageCenter/ManageBase";
import {MessageType} from "../MessageCenter/Message";

const {ccclass, property} = cc._decorator;


@ccclass
export default class UIManager extends ManageBase {

    static Instance: UIManager;

    onLoad() {
        super.onLoad();
        console.log(`UIManager onLoad`)
        UIManager.Instance = this;
    }

    // 接收的消息类型
    SetMessageType(): number {
        return MessageType.TYPE_UI;
    }
}